extern crate rand;
// use std::rand::{task_rng, Rng};
// use std::rand;
// use std::rand::Rng;
// use rand::Rng;
// use rand_core::{RngCore, Error, impls};


fn init_data(arr: &mut [i32; 10]) {
    println!("arr len {}, val is: {:?}", arr.len(), arr);
    for index in 0..10 {
        println!("{}", index);
    }
}

fn main() {
    // std_rng();
    // let y = rand::random::<f64>();
    let mut arr: [i32; 10] = [-1; 10];
    println!("Hello, world!");
    init_data(&mut arr);
}
